package com.pan.download5.parse.entity.auto.impl;

import com.pan.download5.parse.entity.auto.AutoBase;

public class AutoDirectory extends AutoBase {
    protected AutoItem item;
    protected AutoNext next;

    public AutoDirectory() {
    }

    public AutoDirectory(String xpath, AutoNext next, AutoItem item) {
        super();
        super.xpath = xpath;
        this.next = next;
        this.item = item;
    }

    public AutoItem getItem() {
        return item;
    }

    public void setItem(AutoItem item) {
        this.item = item;
    }

    public AutoNext getNext() {
        return next;
    }

    public void setNext(AutoNext next) {
        this.next = next;
    }

    @Override
    public String toString() {
        return "AutoDirectory{" +
                "item=" + item +
                ", next=" + next +
                ", xpath='" + xpath + '\'' +
                '}';
    }
}
